package com.car.entity;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class Cartable implements Serializable {
	private Integer carId;

	private Integer carType;

	private Integer carBrandId;

	private Integer carModelId;

	private String models;
	
	private String displacement;

	public String getDisplacement() {
		return displacement;
	}

	public void setDisplacement(String displacement) {
		this.displacement = displacement;
	}

	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm")
	private Date productionYear;

	private Double limitMileage;
	
	private String storeName;

	public String getStoreName() {
		return storeName;
	}

	public void setStoreName(String storeName) {
		this.storeName = storeName;
	}

	public Integer getCarId() {
		return carId;
	}

	public void setCarId(Integer carId) {
		this.carId = carId;
	}

	public Integer getCarType() {
		return carType;
	}

	public void setCarType(Integer carType) {
		this.carType = carType;
	}

	public Integer getCarBrandId() {
		return carBrandId;
	}

	public void setCarBrandId(Integer carBrandId) {
		this.carBrandId = carBrandId;
	}


	public Integer getCarModelId() {
		return carModelId;
	}

	public void setCarModelId(Integer carModelId) {
		this.carModelId = carModelId;
	}

	public String getModels() {
		return models;
	}

	public void setModels(String models) {
		this.models = models;
	}


	public Date getProductionYear() {
		return productionYear;
	}

	public void setProductionYear(Date productionYear) {
		this.productionYear = productionYear;
	}

	public Double getLimitMileage() {
		return limitMileage;
	}

	public void setLimitMileage(Double limitMileage) {
		this.limitMileage = limitMileage;
	}
}